<div style="font-size:12px;">
    Thanks to Mark Williams we have another great feature - Column Reordering.<br>
    This is done again just with setting one options - sortable. Click on header column and try to move it to another location.<br>
    This feature depend on jQuery UI sortable widget.<br>
    Since we have other great stuffs which are depend on jQuery UI we have created a separated module<br>
    grid.jqueryui.js
<br />
<table id="colr"></table>
<div id="pcolr"></div>
<script src="36colreorder.js" type="text/javascript"> </script>
<br />
<div style="font-size:12px;">
<b> HTML </b>
<XMP>
<table id="colr"></table>
<div id="pcolr"></div>
</XMP>
<b>Java Scrpt code</b>
<XMP>
jQuery("#colr").jqGrid({
	sortable: true,
   	url:'server.php?q=2',
	datatype: "json",
   	colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'],
   	colModel:[
   		{name:'id',index:'id', width:55},
   		{name:'invdate',index:'invdate', width:90},
   		{name:'name',index:'name asc, invdate', width:100},
   		{name:'amount',index:'amount', width:80, align:"right"},
   		{name:'tax',index:'tax', width:80, align:"right"},
   		{name:'total',index:'total', width:80,align:"right"},
   		{name:'note',index:'note', width:150, sortable:false}
   	],
   	rowNum:10,
   	rowList:[10,20,30],
   	pager: '#pcolr',
   	sortname: 'invdate',
    viewrecords: true,
    sortorder: "desc",
    caption:"Column Reordering Example"
});
jQuery("#colr").jqGrid('navGrid','#pcolr',{add:false,edit:false,del:false});
</XMP>
</div>